package com.jyh.dbOrder.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class JyhPlatformMoneyLogExample {
    /**
     * jyh_platform_money_log
     */
    protected String orderByClause;

    /**
     * jyh_platform_money_log
     */
    protected boolean distinct;

    /**
     * jyh_platform_money_log
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public JyhPlatformMoneyLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * jyh_platform_money_log 2017-10-16
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMoneynoIsNull() {
            addCriterion("moneyNO is null");
            return (Criteria) this;
        }

        public Criteria andMoneynoIsNotNull() {
            addCriterion("moneyNO is not null");
            return (Criteria) this;
        }

        public Criteria andMoneynoEqualTo(String value) {
            addCriterion("moneyNO =", value, "moneyno");
            return (Criteria) this;
        }

        public Criteria andMoneynoNotEqualTo(String value) {
            addCriterion("moneyNO <>", value, "moneyno");
            return (Criteria) this;
        }

        public Criteria andMoneynoGreaterThan(String value) {
            addCriterion("moneyNO >", value, "moneyno");
            return (Criteria) this;
        }

        public Criteria andMoneynoGreaterThanOrEqualTo(String value) {
            addCriterion("moneyNO >=", value, "moneyno");
            return (Criteria) this;
        }

        public Criteria andMoneynoLessThan(String value) {
            addCriterion("moneyNO <", value, "moneyno");
            return (Criteria) this;
        }

        public Criteria andMoneynoLessThanOrEqualTo(String value) {
            addCriterion("moneyNO <=", value, "moneyno");
            return (Criteria) this;
        }

        public Criteria andMoneynoLike(String value) {
            addCriterion("moneyNO like", value, "moneyno");
            return (Criteria) this;
        }

        public Criteria andMoneynoNotLike(String value) {
            addCriterion("moneyNO not like", value, "moneyno");
            return (Criteria) this;
        }

        public Criteria andMoneynoIn(List<String> values) {
            addCriterion("moneyNO in", values, "moneyno");
            return (Criteria) this;
        }

        public Criteria andMoneynoNotIn(List<String> values) {
            addCriterion("moneyNO not in", values, "moneyno");
            return (Criteria) this;
        }

        public Criteria andMoneynoBetween(String value1, String value2) {
            addCriterion("moneyNO between", value1, value2, "moneyno");
            return (Criteria) this;
        }

        public Criteria andMoneynoNotBetween(String value1, String value2) {
            addCriterion("moneyNO not between", value1, value2, "moneyno");
            return (Criteria) this;
        }

        public Criteria andPutaccountIsNull() {
            addCriterion("putAccount is null");
            return (Criteria) this;
        }

        public Criteria andPutaccountIsNotNull() {
            addCriterion("putAccount is not null");
            return (Criteria) this;
        }

        public Criteria andPutaccountEqualTo(Integer value) {
            addCriterion("putAccount =", value, "putaccount");
            return (Criteria) this;
        }

        public Criteria andPutaccountNotEqualTo(Integer value) {
            addCriterion("putAccount <>", value, "putaccount");
            return (Criteria) this;
        }

        public Criteria andPutaccountGreaterThan(Integer value) {
            addCriterion("putAccount >", value, "putaccount");
            return (Criteria) this;
        }

        public Criteria andPutaccountGreaterThanOrEqualTo(Integer value) {
            addCriterion("putAccount >=", value, "putaccount");
            return (Criteria) this;
        }

        public Criteria andPutaccountLessThan(Integer value) {
            addCriterion("putAccount <", value, "putaccount");
            return (Criteria) this;
        }

        public Criteria andPutaccountLessThanOrEqualTo(Integer value) {
            addCriterion("putAccount <=", value, "putaccount");
            return (Criteria) this;
        }

        public Criteria andPutaccountIn(List<Integer> values) {
            addCriterion("putAccount in", values, "putaccount");
            return (Criteria) this;
        }

        public Criteria andPutaccountNotIn(List<Integer> values) {
            addCriterion("putAccount not in", values, "putaccount");
            return (Criteria) this;
        }

        public Criteria andPutaccountBetween(Integer value1, Integer value2) {
            addCriterion("putAccount between", value1, value2, "putaccount");
            return (Criteria) this;
        }

        public Criteria andPutaccountNotBetween(Integer value1, Integer value2) {
            addCriterion("putAccount not between", value1, value2, "putaccount");
            return (Criteria) this;
        }

        public Criteria andIncomeaccountIsNull() {
            addCriterion("incomeAccount is null");
            return (Criteria) this;
        }

        public Criteria andIncomeaccountIsNotNull() {
            addCriterion("incomeAccount is not null");
            return (Criteria) this;
        }

        public Criteria andIncomeaccountEqualTo(Integer value) {
            addCriterion("incomeAccount =", value, "incomeaccount");
            return (Criteria) this;
        }

        public Criteria andIncomeaccountNotEqualTo(Integer value) {
            addCriterion("incomeAccount <>", value, "incomeaccount");
            return (Criteria) this;
        }

        public Criteria andIncomeaccountGreaterThan(Integer value) {
            addCriterion("incomeAccount >", value, "incomeaccount");
            return (Criteria) this;
        }

        public Criteria andIncomeaccountGreaterThanOrEqualTo(Integer value) {
            addCriterion("incomeAccount >=", value, "incomeaccount");
            return (Criteria) this;
        }

        public Criteria andIncomeaccountLessThan(Integer value) {
            addCriterion("incomeAccount <", value, "incomeaccount");
            return (Criteria) this;
        }

        public Criteria andIncomeaccountLessThanOrEqualTo(Integer value) {
            addCriterion("incomeAccount <=", value, "incomeaccount");
            return (Criteria) this;
        }

        public Criteria andIncomeaccountIn(List<Integer> values) {
            addCriterion("incomeAccount in", values, "incomeaccount");
            return (Criteria) this;
        }

        public Criteria andIncomeaccountNotIn(List<Integer> values) {
            addCriterion("incomeAccount not in", values, "incomeaccount");
            return (Criteria) this;
        }

        public Criteria andIncomeaccountBetween(Integer value1, Integer value2) {
            addCriterion("incomeAccount between", value1, value2, "incomeaccount");
            return (Criteria) this;
        }

        public Criteria andIncomeaccountNotBetween(Integer value1, Integer value2) {
            addCriterion("incomeAccount not between", value1, value2, "incomeaccount");
            return (Criteria) this;
        }

        public Criteria andPaymoneyIsNull() {
            addCriterion("payMoney is null");
            return (Criteria) this;
        }

        public Criteria andPaymoneyIsNotNull() {
            addCriterion("payMoney is not null");
            return (Criteria) this;
        }

        public Criteria andPaymoneyEqualTo(BigDecimal value) {
            addCriterion("payMoney =", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyNotEqualTo(BigDecimal value) {
            addCriterion("payMoney <>", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyGreaterThan(BigDecimal value) {
            addCriterion("payMoney >", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("payMoney >=", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyLessThan(BigDecimal value) {
            addCriterion("payMoney <", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("payMoney <=", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyIn(List<BigDecimal> values) {
            addCriterion("payMoney in", values, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyNotIn(List<BigDecimal> values) {
            addCriterion("payMoney not in", values, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("payMoney between", value1, value2, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("payMoney not between", value1, value2, "paymoney");
            return (Criteria) this;
        }

        public Criteria andAccountIsNull() {
            addCriterion("account is null");
            return (Criteria) this;
        }

        public Criteria andAccountIsNotNull() {
            addCriterion("account is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEqualTo(BigDecimal value) {
            addCriterion("account =", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotEqualTo(BigDecimal value) {
            addCriterion("account <>", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThan(BigDecimal value) {
            addCriterion("account >", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("account >=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThan(BigDecimal value) {
            addCriterion("account <", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("account <=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountIn(List<BigDecimal> values) {
            addCriterion("account in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotIn(List<BigDecimal> values) {
            addCriterion("account not in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("account between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("account not between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andRechargetypeIsNull() {
            addCriterion("rechargeType is null");
            return (Criteria) this;
        }

        public Criteria andRechargetypeIsNotNull() {
            addCriterion("rechargeType is not null");
            return (Criteria) this;
        }

        public Criteria andRechargetypeEqualTo(Integer value) {
            addCriterion("rechargeType =", value, "rechargetype");
            return (Criteria) this;
        }

        public Criteria andRechargetypeNotEqualTo(Integer value) {
            addCriterion("rechargeType <>", value, "rechargetype");
            return (Criteria) this;
        }

        public Criteria andRechargetypeGreaterThan(Integer value) {
            addCriterion("rechargeType >", value, "rechargetype");
            return (Criteria) this;
        }

        public Criteria andRechargetypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("rechargeType >=", value, "rechargetype");
            return (Criteria) this;
        }

        public Criteria andRechargetypeLessThan(Integer value) {
            addCriterion("rechargeType <", value, "rechargetype");
            return (Criteria) this;
        }

        public Criteria andRechargetypeLessThanOrEqualTo(Integer value) {
            addCriterion("rechargeType <=", value, "rechargetype");
            return (Criteria) this;
        }

        public Criteria andRechargetypeIn(List<Integer> values) {
            addCriterion("rechargeType in", values, "rechargetype");
            return (Criteria) this;
        }

        public Criteria andRechargetypeNotIn(List<Integer> values) {
            addCriterion("rechargeType not in", values, "rechargetype");
            return (Criteria) this;
        }

        public Criteria andRechargetypeBetween(Integer value1, Integer value2) {
            addCriterion("rechargeType between", value1, value2, "rechargetype");
            return (Criteria) this;
        }

        public Criteria andRechargetypeNotBetween(Integer value1, Integer value2) {
            addCriterion("rechargeType not between", value1, value2, "rechargetype");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNull() {
            addCriterion("operator is null");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNotNull() {
            addCriterion("operator is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorEqualTo(String value) {
            addCriterion("operator =", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotEqualTo(String value) {
            addCriterion("operator <>", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThan(String value) {
            addCriterion("operator >", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThanOrEqualTo(String value) {
            addCriterion("operator >=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThan(String value) {
            addCriterion("operator <", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThanOrEqualTo(String value) {
            addCriterion("operator <=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLike(String value) {
            addCriterion("operator like", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotLike(String value) {
            addCriterion("operator not like", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorIn(List<String> values) {
            addCriterion("operator in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotIn(List<String> values) {
            addCriterion("operator not in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorBetween(String value1, String value2) {
            addCriterion("operator between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotBetween(String value1, String value2) {
            addCriterion("operator not between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andTimeIsNull() {
            addCriterion("time is null");
            return (Criteria) this;
        }

        public Criteria andTimeIsNotNull() {
            addCriterion("time is not null");
            return (Criteria) this;
        }

        public Criteria andTimeEqualTo(Date value) {
            addCriterion("time =", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotEqualTo(Date value) {
            addCriterion("time <>", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThan(Date value) {
            addCriterion("time >", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("time >=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThan(Date value) {
            addCriterion("time <", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThanOrEqualTo(Date value) {
            addCriterion("time <=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeIn(List<Date> values) {
            addCriterion("time in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotIn(List<Date> values) {
            addCriterion("time not in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeBetween(Date value1, Date value2) {
            addCriterion("time between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotBetween(Date value1, Date value2) {
            addCriterion("time not between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimestampIsNull() {
            addCriterion("timestamp is null");
            return (Criteria) this;
        }

        public Criteria andTimestampIsNotNull() {
            addCriterion("timestamp is not null");
            return (Criteria) this;
        }

        public Criteria andTimestampEqualTo(Date value) {
            addCriterion("timestamp =", value, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampNotEqualTo(Date value) {
            addCriterion("timestamp <>", value, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampGreaterThan(Date value) {
            addCriterion("timestamp >", value, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampGreaterThanOrEqualTo(Date value) {
            addCriterion("timestamp >=", value, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampLessThan(Date value) {
            addCriterion("timestamp <", value, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampLessThanOrEqualTo(Date value) {
            addCriterion("timestamp <=", value, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampIn(List<Date> values) {
            addCriterion("timestamp in", values, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampNotIn(List<Date> values) {
            addCriterion("timestamp not in", values, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampBetween(Date value1, Date value2) {
            addCriterion("timestamp between", value1, value2, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampNotBetween(Date value1, Date value2) {
            addCriterion("timestamp not between", value1, value2, "timestamp");
            return (Criteria) this;
        }
    }

    /**
     * jyh_platform_money_log
     *
     * @mbggenerated do_not_delete_during_merge 2017-10-16
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * jyh_platform_money_log 2017-10-16
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}